<template>
  <div id="app">
 
   <router-view/>
 
  </div>
</template>
<script>
import Bus from "@/utils/bus";

export default {
  data () {
   return {
     isRouterAlive: true
   }
 },
  mounted() {
    // var that = this;
    //  function isFullScreen() {
    //     return !!(
    //         document.fullscreen ||
    //         document.mozFullScreen ||
    //         document.webkitIsFullScreen ||
    //         document.webkitFullScreen ||
    //         document.msFullScreen
    //     );
    // }
    //  window.onresize = function() {
    //         // window.location.reload();
    //         //console.log("当前屏幕12213312", screen);
    //          if(!isFullScreen()){
             
    //           //console.log(12)
    //          }
             
          
    //     }
//  const socket = new SockJS('http://tbknew.mpcheshi.com/mpsh/websocket')
// const stompClient = Stomp.over(socket)  //创建STOMP客户端
// stompClient.connect({}, (frame) => {   //连接到服务器
//     //console.log("链接返回信息",frame)
 
// stompClient.subscribe("/topic/callback", function (response) {
             
//               //console.log("数据结果返回",JSON.parse(response.body))
//             });
// })
  },
  methods: {
   reload () {
     this.isRouterAlive = false
 
   }   
 }
}
</script>
<style lang="less">
</style>

